﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WaterRevenueMS.Componnent.Common;
using WaterRevenueMS.Domain.ViewModels.Customer.Customer;

namespace WaterRevenueMS.Core.Service.Customer
{
    public interface ICustomerService
    {
        IQueryable<WaterRevenueMS.Componnent.Entities.Customer.Customer> Customers { get; }

        OperationResult Insert(CustomerModel model);

        OperationResult Update(CustomerModel model);

        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        OperationResult Delete(int Id);
    }
}
